package com.project.communitymanagement.service.impl;

import com.project.communitymanagement.common.BaseServiceImpl;
import com.project.communitymanagement.entity.TbSalaryAdjustmentDts;
import com.project.communitymanagement.mapper.TbSalaryAdjustmentDtsMapper;
import com.project.communitymanagement.service.TbSalaryAdjustmentDtsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TbSalaryAdjustmentDtsServiceImpl  extends BaseServiceImpl<TbSalaryAdjustmentDtsMapper, TbSalaryAdjustmentDts> implements TbSalaryAdjustmentDtsService {

    @Autowired
    private TbSalaryAdjustmentDtsMapper tbsalaryadjustmentdtsMapper;

    @Override
    protected TbSalaryAdjustmentDtsMapper mapper() {
        return tbsalaryadjustmentdtsMapper;
    }

    @Override
    protected TbSalaryAdjustmentDts defaultModel() {
        return new TbSalaryAdjustmentDts();
    }

    @Override
    public List<TbSalaryAdjustmentDts> getAll(Integer user_id) {
        List<TbSalaryAdjustmentDts> tbsalaryadjustmentdtsMapperAll = tbsalaryadjustmentdtsMapper.getAll(user_id);
        return tbsalaryadjustmentdtsMapperAll;
    }
}
